<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../js/vue.js"></script>
    <script src="../js/jquery.min.js"></script>
</head>
<body>
    <script>
        console.log("=======2.35name属性=========");
        //匿名函数
        var f = function(){};
        //es5
        console.log(f.name);
        //es6
        console.log(f.name)

        //具名函数
        const myfun = function fun (){};
        //es5
        console.log(myfun.name);
        //es6
        console.log(myfun.name);


    </script>    
</body>
</html>